package cn.keniykey.mc.viewlibrary.packet.api;

import javax.annotation.Nullable;

public abstract class AbWindowPacketDispatch extends AbWindowPacket implements IPacketDispatch{
	private Object nmspacket = null;
	
	protected AbWindowPacketDispatch(int windowid) {
		super(windowid);
	}
	protected AbWindowPacketDispatch() {}
	
	@Override
	public final void setCacheReflectionPacket(Object nmspacket) {
		this.nmspacket = nmspacket;
	}
	@Nullable
	@Override
	public Object getCacheReflectionPacket() {
		return this.nmspacket;
	}
}